package com.ruoyi.framework.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = UtmostDataSourceProperties.PREFIX)
public class UtmostDataSourceProperties
{
    /**
     * 配置前缀
     */
    public static final String PREFIX = "utmost.datasource.dynamic";

    public static final String MASTER_PREFIX = "utmost.datasource.dynamic.master";

    public static final String SLAVE_PREFIX = "utmost.datasource.dynamic.slave";

    public String primary = "master";

    public boolean enabled = true;

    public SingleDataSourceProperty master;

    public SingleDataSourceProperty slave;
}
